<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'OM-Nummer'); ?>
		<?php echo $form->textField($model,'om_number_search'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Name'); ?>
		<?php echo $form->textField($model,'Name',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Vorname'); ?>
		<?php echo $form->textField($model,'Vorname',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Sprache'); ?>
		<?php echo $form->textField($model,'Sprache',array('size'=>20,'maxlength'=>20)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Geschlecht'); ?>
		<?php echo $form->textField($model,'Geschlecht',array('size'=>20,'maxlength'=>20)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Geburtsdatum'); ?>
		<?php echo $form->textField($model,'Geburtsdatum',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Strasse'); ?>
		<?php echo $form->textField($model,'Strasse',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Hausnummer'); ?>
		<?php echo $form->textField($model,'Hausnummer'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Hausnummer_Zusatz'); ?>
		<?php echo $form->textField($model,'Hausnummer_Zusatz',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'PLZ'); ?>
		<?php echo $form->textField($model,'PLZ',array('size'=>12,'maxlength'=>12)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Ortschaft'); ?>
		<?php echo $form->textField($model,'Ortschaft',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Kanton'); ?>
		<?php echo $form->textField($model,'Kanton',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Land'); ?>
		<?php echo $form->textField($model,'Land',array('size'=>3,'maxlength'=>3)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Telefon_Privat'); ?>
		<?php echo $form->textField($model,'Telefon_Privat',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Telefon_Geschaeft'); ?>
		<?php echo $form->textField($model,'Telefon_Geschaeft',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Mobile'); ?>
		<?php echo $form->textField($model,'Mobile',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'Email'); ?>
		<?php echo $form->textField($model,'Email',array('size'=>50,'maxlength'=>50)); ?>
	</div>
	
	<div class="row">
		<?php echo $form->label($model,'section_search'); ?>
		<?php echo $form->textField($model,'section_search',array('size'=>50,'maxlength'=>50)); ?>
	</div>	
	
<!--	<div class="row">-->
		<?php // echo CHtml::activeDropDownList($codes, 'Code', CHtml::listData($codes, 'Code', 'Langbezeichnung')); ?>
<!--	</div>-->

	<div class="row buttons">
		<?php echo CHtml::submitButton('Suchen', array('class'=>'span-3 button')); ?>
		<?php echo CHtml::button('Exportieren', array('id'=>'export-extended-button','class'=>'span-3 button')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->